<!-- eslint-disable -->
<template>
  <el-form :model="props.formItem" label-width="100" class="p-2">
    <el-form-item label="名称">
      <el-input v-model.trim="props.formItem.label" />
    </el-form-item>
    <el-form-item label="栅格宽度">
      <el-input v-model.number="props.formItem.col" placeholder="默认24" />
    </el-form-item>
    <el-form-item label="样式类名">
      <el-input v-model="props.formItem.className" placeholder="请输入" />
    </el-form-item>
  </el-form>
</template>

<script setup lang="ts" name="upload">
const props = defineProps<{ formItem: SubmitFormSchema }>()
</script>
